import {createApp} from 'vue'
import ElementPlus from 'element-plus'
import * as ElementPlusIcons from '@element-plus/icons'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './core/router'
import store from './store/index'
// import pageMixin from './mixin/page'
import './assets/element.css'
import './assets/global.css'

const app = createApp(App)
app.use(ElementPlus, { size: 'small' })
app.use(router)
app.use(store)
// app.mixin(pageMixin)
app.component('icon', ElementPlusIcons)
app.mount('#app')

// 全局 property
// app.config.globalProperties
